using UnityEngine;

[CreateAssetMenu(fileName = "New MoveSpeedPotion", menuName = "Inventory/PowerUpItem/MoveSpeedPotion(移动速度)")]
public class MoveSpeedPotion : PowerUpItem
{
    public MoveSpeedPotion()
    {
        speedBoost = 0.2f;
    }

    public override void ApplyEffect(Player player)
    {
        base.ApplyEffect(player);
        Debug.Log($"玩家使用了{itemName}，移速增加了 {speedBoost} 点。");
    }
}